Skip to content

test(aof): cover chunked SETRANGE, expiry, and rewrite - #195

Merged
MohitGoyal09 merged 5 commits into
mainfrom
fix/192-aof-chunk-coverage
Nov 18, 2026
Merged

MohitGoyal09 merged 5 commits into
mainfrom
fix/192-aof-chunk-coverage

Conversation

@MohitGoyal09

Copy link
Copy Markdown
Collaborator

Fixes #192

Adds the coverage gaps noted in the #191 review; behavior was already correct.

  • A 40 MiB SETRANGE-grown value (the other producer of chunked strings) replays with its seam and tail bytes intact.
  • A 40 MiB APPEND-grown value keeps its TTL across restart.
  • BGREWRITEAOF on chunked strings produces a base+tail file that replays with correct content and length.
  • The test uses the 30 s read timeout pattern for large AOF fsyncs.

Verification

cargo fmt --all -- --check
cargo clippy --all-targets -- -D warnings
cargo test

All 40 test binaries pass.

@MohitGoyal09
MohitGoyal09 merged commit 091175a into main Nov 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cover SETRANGE-grown chunks, chunked expiry, and chunked AOF rewrite in tests

1 participant